﻿using System.ServiceModel;

namespace Orktane.Samples.ConsoleAppWeb.Services
{
    [ServiceContract]
    public interface IRemoteProcessesService
    {
        [OperationContract]
        RemoteProcess[] GetRunningProcesses(string namePattern);

        [OperationContract]
        bool StopProcess(int processId);

        [OperationContract]
        RemoteProcess StartProcess(string fileName);
    }
}
